package com.config;

/**
 * @Author: chihaojie
 * @Date: 2019/6/11 8:57
 * @Version 1.0
 * @Note
 */
public class WXMiniProgramConfig {

    public static final String KEY="182006250b4c09247ec02edce69f6a2f";

    public  static final   String  AppId="wxc8a013437f8dc8af";

    public static final    String  AppSecret="da2eecc9656eb200e564bd380a513b9d";

    //管理端
    public  static  final String  MANAGER_END_APP_SECRET="f5dbb3776c3619004e0d1bc2302b645b";

    public  static  final String  MANAGER_END_APP_ID="wx8f74472090f5df9b";

//    public  static  final String  MANAGER_END_MCH_ID="1540285921";


    //消费者端
    public  static  final String  CUSTOMER_END_APP_SECRET="708ba71567358d7c26d9f435a57836a2";

    public  static  final String  CUSTOMER_END_APP_ID="wxc01af68939f4a898";

    public  static  final String  CUSTOMER_END_MCH_ID="1540285921";

    public  static final   String GRANT_TYPE = "authorization_code";

    public static final    String  ACCESS_TOKEN_GRANT_TYPE="client_credential";

    //https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET
    public  static  final   String  WX_URL_GET_ACCESS_TOKEN="https://api.weixin.qq.com/cgi-bin/token";

    //GET https://api.weixin.qq.com/sns/jscode2session?appid=APPID&secret=SECRET&js_code=JSCODE&grant_type=authorization_code
    public static  final   String  WX_URL_CODE_2_SESSION="https://api.weixin.qq.com/sns/jscode2session";

    //getwxacodeunlimit
    //POST https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=ACCESS_TOKEN
    //请求参数
    public static final    String  WX_URL_GET_WXACODE_UNLIMIT="https://api.weixin.qq.com/wxa/getwxacodeunlimit";

   //POST https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode?access_token=ACCESS_TOKEN
    public static  final   String  WX_URL_CREATE_QRCODE="https://api.weixin.qq.com/cgi-bin/wxaapp/createwxaqrcode";



}
